Give\PaymentGateways\PayPalCommerce\AjaxRequestHandler S

Total Complexity 37
Dependencies 12
Dependents 1
Total lines 375
Lines of code 197
Logical lines of code 95
Comment lines 103
Methods 10
Properties 6

Methods 10

Method Rating Maintainability Complexity Lines of code
onGetPartnerUrlAjaxRequestHandler()
A
48 8 32
getDonorAddressFromPostedDataForPaypalOrder()
S
60 8 12
createOrder()
S
46 3 41
removePayPalAccount()
S
52 4 25
onBoardedUserAjaxRequestHandler()
S
52 4 23
onBoardingTroubleNotice()
S
53 2 27
approveOrder()
S
57 2 18
validateFrontendRequest()
S
69 3 6
validateAdminRequest()
S
74 2 5
__construct()
S
67 1 8